package com.lixixi.tingshu.album.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lixixi.tingshu.model.album.TrackStat;
import com.lixixi.tingshu.vo.album.TrackStatVo;
import org.apache.ibatis.annotations.Param;

public interface TrackStatMapper extends BaseMapper<TrackStat> {
	void deleteStatByTrackID(@Param("trackId") Long trackId);

	TrackStatVo selectTrackStatVo(@Param("trackId") Long trackId);

	void updateTrackStat(@Param("statType") String statType,@Param("count") Integer count,@Param("trackId") Long trackId);
}
